unit UnitAlteraComissaoManual;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, dxExEdtr, DB, ADODB, dxCntner, dxEditor, dxEdLib, StdCtrls,
  ExtCtrls, dxTL, dxDBCtrl, dxDBGrid, dxDBTLCl, dxGrClms, Buttons;

type
  TFormAlteraComissaoManual = class(TForm)
    dxDBGrid1: TdxDBGrid;
    qryDados: TADOQuery;
    dsDados: TDataSource;
    qryDadosGRUPO_CODIGO: TIntegerField;
    qryDadosCOMISSAO_PERIODO: TStringField;
    qryDadosFRANQUIA_CODIGO: TIntegerField;
    qryDadosGUIAS: TIntegerField;
    qryDadosVALEGAS: TBCDField;
    qryDadosTIM: TBCDField;
    qryDadosOI: TBCDField;
    qryDadosCLARO: TBCDField;
    qryDadosEMBLDR: TBCDField;
    qryDadosEMBLIVRE: TBCDField;
    qryDadosOIRECARGA: TBCDField;
    qryDadosBBQTD: TIntegerField;
    qryDadosVIVORECARGA: TBCDField;
    qryDadosCLARORECARGA: TBCDField;
    qryDadosAMAZONIARECARGA: TBCDField;
    qryDadosMINASGAS: TBCDField;
    qryDadosQTDSETUT: TIntegerField;
    qryDadosBBQTD1: TIntegerField;
    qryDadosQTDOPBMC: TIntegerField;
    qryDadosQTDOPFAUESPI: TIntegerField;
    dxDBGrid1GRUPO_CODIGO: TdxDBGridMaskColumn;
    dxDBGrid1COMISSAO_PERIODO: TdxDBGridMaskColumn;
    dxDBGrid1FRANQUIA_CODIGO: TdxDBGridMaskColumn;
    dxDBGrid1GUIAS: TdxDBGridMaskColumn;
    dxDBGrid1BBQTD: TdxDBGridMaskColumn;
    dxDBGrid1BBQTD1: TdxDBGridMaskColumn;
    dxDBGrid1QTDOPBMC: TdxDBGridMaskColumn;
    dxDBGrid1QTDOPFAUESPI: TdxDBGridMaskColumn;
    dxDBGrid1TIM: TdxDBGridCurrencyColumn;
    dxDBGrid1OI: TdxDBGridCurrencyColumn;
    dxDBGrid1CLARO: TdxDBGridCurrencyColumn;
    dxDBGrid1EMBLDR: TdxDBGridCurrencyColumn;
    dxDBGrid1EMBLIVRE: TdxDBGridCurrencyColumn;
    dxDBGrid1OIRECARGA: TdxDBGridCurrencyColumn;
    dxDBGrid1VIVORECARGA: TdxDBGridCurrencyColumn;
    dxDBGrid1CLARORECARGA: TdxDBGridCurrencyColumn;
    dxDBGrid1AMAZONIARECARGA: TdxDBGridCurrencyColumn;
    dxDBGrid1VALEGAS: TdxDBGridCurrencyColumn;
    dxDBGrid1MINASGAS: TdxDBGridCurrencyColumn;
    dxDBGrid1QTDSETUT: TdxDBGridMaskColumn;
    Panel1: TPanel;
    Panel2: TPanel;
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
    procedure FormCreate(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FormAlteraComissaoManual: TFormAlteraComissaoManual;

implementation

uses UnitPrincipal;

{$R *.dfm}

procedure TFormAlteraComissaoManual.FormCreate(Sender: TObject);
begin
  qryDados.Open;
end;

procedure TFormAlteraComissaoManual.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
  qryDados.Close;
end;

end.
